package com.yxkj.railservicer.pager;

import android.app.Activity;
import android.view.View;
import android.widget.FrameLayout;

import com.yxkj.railservicer.R;

/**
 * Created by sunyu on 2017/2/28.
 */

public class BasePager {
    protected Activity activity;
    public View rootView;
    protected FrameLayout fl_basepager;

    public BasePager(Activity activity) {
        this.activity = activity;
        this.rootView = initView();
    }

    private View initView() {
        View view = View.inflate(activity, R.layout.basepager, null);
        fl_basepager = (FrameLayout) view.findViewById(R.id.fl_basepager);

        return view;
    }

    public void initData() {

    }
}
